package demo6.demo1;

public class Ref1 {
    private String name;
    private  Integer age;
    public Ref1(){

    }

    public Ref1(String name, Integer age) {
        this.name = name;
        this.age = age;
    }
    public void hello(){
        System.out.println("name:"+name+";"+"age:"+age);
    }
}
